package com.net.xpay.common.manager.impl.admin.rbac;

import com.net.common.annotation.ReadTransactional;
import com.net.common.dao.BasicMapper;
import com.net.xpay.common.dao.admin.rbac.RolePermissionMapper;
import com.net.xpay.common.domain.admin.rbac.RolePermission;
import com.net.xpay.common.manager.admin.rbac.RolePermissionManager;
import com.net.common.manager.AbstractManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component
@ReadTransactional
public class RolePermissionManagerImpl extends AbstractManager<RolePermission> implements RolePermissionManager{

    @Autowired
    private RolePermissionMapper mapper;


    @Override
    protected BasicMapper<Long, RolePermission> getMapper() {
        return mapper;
    }
}
